#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;

class Date
{
public:
	void  Printf()
	{
		cout << _year << "-" << _month << "-" << _day << endl;
	}

	void Init(int year,int month,int day)
	{
		_year = year;
		_month = month;
		_day = day;
	}
private:
	int _year;
	int _month;
	int _day;
};

int main()
{
	Date d1;
	d1.Init(2023, 6, 27);
	d1.Printf();
	return 0;
}